package com.tianyang.yukuaifuzs.business.trade.contract;

import com.tianyang.yukuaifuzs.base.IBaseExtraView;
import com.tianyang.yukuaifuzs.base.IBasePresenter;
import com.tianyang.yukuaifuzs.business.trade.bean.MerchantAchieveOutput;

import java.util.List;

/**
 * Description：商户业绩
 * Created by xyj on 2024/3/25
 */
public interface MerchantAchieveContract {

    interface View extends IBaseExtraView<Presenter> {

        void showMerchantTradeView(List<MerchantAchieveOutput> outputs, boolean isFirst);

        /**
         * 上拉加载状态
         */
        void showLoadMore(String loadMore);
    }

    interface Presenter extends IBasePresenter {

        void posMerchantTradeTotal(int pageNum, String startTime, String endTime, String phone);
    }
}
